
<html>
    <head>
        <title>FIFA WC 2018</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width">
         <link rel="stylesheet" href="style.css"/>
    </head>
    <body>
    
         
          <?php
            $db = mysql_connect("localhost", "root", "");
				mysql_select_db("bdproject");
               
                                
                                $idN= $_GET['id'];
                   
              
                                
            $query3 = mysql_query("SELECT * FROM grupo WHERE descricao='$idN'");
            $resposta3 = mysql_fetch_array($query3);
            echo "<h1>".$resposta3['descricao']."</h1>";
        ?>
		
           
           <?php
           $idN= $_GET['id'];
              
            $query4 = "SELECT * FROM grupo WHERE descricao='$idN'";
            $resposta4 = mysql_query($query4);
            echo "<table>";
  
            while ($row4 = mysql_fetch_array($resposta4)){
                 
                echo "<tr>";
                print "<td>Id: ". $row4["idGrupo"]. "</td>"; 
                echo "</tr>";
            }
        echo "</table>";
           ?>
           
           <?php
           $idN= $_GET['id'];
              
            $query5 = "SELECT * FROM grupo WHERE descricao='$idN'";
            $resposta5 = mysql_query($query5);
            echo "<table>";
  
            while ($row5 = mysql_fetch_array($resposta5)){
                 
                echo "<tr>";
                print "<td> Fase de Grupos: ". $row5["Fase_idFase"]. "</td>"; 
                echo "</tr>";
            }
        echo "</table>";
        
        
        ?> </a></p></li> </ul>
         
    </body>
</html>

